#!/bin/sh

# 复制项目的文件到对应docker路径，便于一键生成镜像。
usage() {
	echo "Usage: sh c.sh"
	exit 1
}


# copy sql
#echo "begin copy sql "
#cp ../sql/ry_20230223.sql ./mysql/db
#cp ../sql/ry_config_20220929.sql ./mysql/db

# copy html
echo "begin copy html "
mkdir ./nginx/html/dist -p
cp -r ../hello-ui/dist/** ./nginx/html/dist


# copy jar
echo "begin copy hello-gateway "
cp ../hello-gateway/target/hello-gateway.jar ./hello/gateway/jar

echo "begin copy hello-auth "
cp ../hello-auth/target/hello-auth.jar ./hello/auth/jar


echo "begin copy hello-modules-system "
cp ../hello-modules/hello-system/target/hello-modules-system.jar ./hello/modules/system/jar

